package com.yunxi;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;


@EnableSwagger2Doc
@SpringBootApplication(scanBasePackages = "com.yunxi",exclude={DataSourceAutoConfiguration.class})
@ImportResource(value = {"classpath:/spring/web-main.xml"})
@ComponentScan({"com.yunxi"})
public class WebBootStrap
{
    public static void main(String[] args){
        SpringApplication.run(WebBootStrap.class, args);
    }
}
